import React, { useEffect } from 'react'
import styles from './index.module.css'

function Error() {

    //[]空数组相当于componentDidMount
    useEffect(() => {
        initData()
        return () => {

        }
    }, []);

    function initData() {

    }

    return (
        <div>这是错误页面</div>
    )
}

export default Error;
